package solutions.ferpa.ztest.intf;

import br.com.telescope.t2.ModuleNavigator;
import br.com.telescope.t2.ServiceNavigation;

public class ModMenu extends ModuleNavigator {
    
    public ModMenu() {
        
        setGlobalName("RTMENU.MOD_MENU");
        setInitialService(CadMenu.class, "QUERY");
        
        addNavigation((new ServiceNavigation())
                .id("753049")
                .name("MENU")
                .label("Menu")
                .destination(CadMenu.class)
                .feature("UPDATE")
                .parameterName("A_ID")
                );
        addNavigation((new ServiceNavigation())
                .id("753052")
                .name("ITME")
                .label("Itens")
                .destination(CadItemMenu.class)
                .feature("LIST")
                .parameterName("P_MENU_ID")
                );
    }
}
